package com.feign.hystrix;

import com.feign.service.EnterpriseClientService;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * Created by dell on 2016/11/2.
 */
@Component
public class EnterpriseServiceHystrix implements EnterpriseClientService {
    @Override
    public PageInfo<Map> search(@RequestParam(value = "curPage", required = false, defaultValue = "1") int curPage, @RequestParam(value = "pageSize", required = false, defaultValue = "10") int pageSize) {
        return null;
    }
}
